﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Work.Models
{
	public class User
	{
		//Add-Migration InitialCreate
		//Update-Database
		//和数据库有关的类首字母大写，无关的类实施驼峰命名法
		public long Id { get; set; }
		public string Email { get; set; }
		public string Psd { get; set; }
		public byte[] Salt { get; set; }
		public string Hashed { get; set; }
		public int PermissionId { get; set; }
	}
}
